<?php
/**
 * Fox Login Screen
 */
use Fox\Html\Input;
use Fox\Html\Header\Image;
use Fox\Html\Screen;

$screen = new Screen('loginScreen','iconn');
$screen->add(new Image('logo',"<p>Connectez-vous &agrave; Nawa</p>"));
$o_block = new Fox\Html\Block('BLG','Login');
$o_block->add(new Input(array('usrnm','email'),true,null,null))
->size(Input::SIZE_LARGE);

$o_block->add(new Fox\Html\Input\Password('passw',true,null));
$screen->add($o_block);
if($screen->submitted())
{
	$screen->get();
}
echo '<center><div id="login">'.$screen->Display().'</div></center>';